package com.example.coursedemo.service;




import com.example.coursedemo.jiekou.objectRepository;
import com.example.coursedemo.jiekou.portdeobject;
import com.example.coursedemo.object.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class objectService implements portdeobject {
    @Autowired
    private objectRepository objectrepository;
    @Override
    public boolean add(Student student) {
        objectrepository.save(student);
        return false;
    }
}
